package com.zros.modules.business.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zros.modules.business.entity.Channel;
import com.zros.modules.business.entity.Shop;
import com.zros.modules.business.mapper.ChannelMapper;
import com.zros.modules.business.mapper.ShopMapper;
import com.zros.modules.business.service.IShopService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zros.modules.business.vo.ChannelVo;
import com.zros.modules.business.vo.ShopVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lvkai
 * @since 2020-04-18
 */
@Service
public class ShopServiceImpl extends ServiceImpl<ShopMapper, Shop> implements IShopService {

    @Autowired
    private ShopMapper shopMapper;

    @Override
    public Page<ShopVo> queryList(Page<ShopVo> page, Shop shop )
    {
        Page<ShopVo> pageShopVo = shopMapper.queryList(page, shop);
        return pageShopVo;
    }

}
